www.gusucode.com > tpframe PHP开发框架 v2.2PHP源码程序 > tpframe PHP开发框架 v2.2/tpframe_v2.2.0618/tpframe_v2.2.0618/application/api/controller/User.php
<?php // +---------------------------------------------------------------------- // | Author: yaoyihong <510974211@qq.com> // +---------------------------------------------------------------------- namespace app\api\controller; use \tpfcore\Core; class User extends ApiBase { public function login(){ $this->jump(Core::loadModel($this->name)->login($this->param)); } }